export default {
  // 返回值可以是数组形式
  'GET /api/users': {
    data: [
      {
        id: 1,
        name: '首頁',
        path: '/welcome',
        component: '../pages/Welcome',
        icon: 'SmileOutlined',
      },
      {
        id: 2,
        name: '客戶入網',
        path: '/customer-access',
        icon: 'HeartOutlined',
        routes: [
          {
            path: '/customer-access',
            redirect: '/customer-access/newcustomers',
          },
          {
            path: '/customer-access/newcustomers',
            name: '新增客户',
            component: './Customer-access/NewCustomers',
          },
          {
            path: '/customer-access/batchimport',
            name: '批量导入',
            component: './Customer-access/BatchImport',
          },
        ],
      },
      {
        id: 3,
        icon: 'SmileOutlined',
        name: '客户列表',
        path: '/name',
        // component: '@/pages/index',
      },
    ],
  },

  'GET /api/id': {
    data: [
      1, 2, 21, 22, 23, 24, 3, 31, 32, 4, 41, 42, 43, 5, 51, 6, 61, 62, 99,
    ],
  },

  'GET /api/pages': {
    data: [
      {
        author_association: 'NONE',
        avatar:
          'https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png',
        closed_at: null,
        comments: 1,
        created_at: '2020-05-26T09:42:56Z',
        id: 624748504,
        labels: [{ name: 'bug', color: 'error' }],
        locked: false,
        number: 6689,
        state: 'open',
        title: '🐛 [BUG]yarn install命令 antd2.4.5会报错',
        updated_at: '2020-05-26T10:03:02Z',
        user: 'chenshuai2144',
      },
      {
        author_association: 'NONE',
        avatar:
          'https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png',
        closed_at: null,
        comments: 0,
        created_at: '2020-05-26T08:19:22Z',
        id: 624691229,
        labels: [{ name: 'bug', color: 'error' }],
        locked: false,
        number: 6688,
        state: 'open',
        title: '🐛 [BUG]无法创建工程npm create umi',
        updated_at: '2020-05-26T08:19:22Z',
        user: 'chenshuai2144',
      },
      {
        author_association: 'NONE1',
        avatar:
          'https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png',
        closed_at: null,
        comments: 10,
        created_at: '2020-05-26T08:19:22Z',
        id: 624691289,
        labels: [{ name: 'bug', color: 'error' }],
        locked: false,
        number: 668,
        state: 'open',
        title: '🐛 [BUG]无法创建工程npm create umi',
        updated_at: '2020-05-26T08:19:22Z',
        user: 'zhnagliq121',
      },
      {
        author_association: 'NONE1',
        avatar:
          'https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png',
        closed_at: null,
        comments: 10,
        created_at: '2020-05-26T08:19:22Z',
        id: 6246989233,
        labels: [{ name: 'bug', color: 'error' }],
        locked: false,
        number: 66238,
        state: 'open',
        title: '🐛 [BUG]无法创建工程npm create umi',
        updated_at: '2020-05-26T08:19:22Z',
        user: 'zhnagliq121',
      },
      {
        author_association: 'NONE1',
        avatar:
          'https://gw.alipayobjects.com/zos/antfincdn/XAosXuNZyF/BiazfanxmamNRoxxVxka.png',
        closed_at: null,
        comments: 10,
        created_at: '2020-05-26T08:19:22Z',
        id: 6246989133,
        labels: [{ name: 'bug', color: 'error' }],
        locked: false,
        number: 66238,
        state: 'open',
        title: '🐛 [BUG]无法创建工程npm create umi',
        updated_at: '2020-05-26T08:19:22Z',
        user: 'zhnagliq121',
      },
    ],
  },
};
